|
This page last changed on Feb 02, 2006 by mryall.
Once you attach a file, you can easily provide a link to it from the page.
While image attachments can be displayed in a page, other types of attachments can be referenced, like this:
Where:
'Working with attachments.pdf' is the name of the file you want to link to.
You can also use the Rich Text editor to link to an attachment.
Linking to an attachment in another page
You can link to any attachment on your site using the following syntax.
Attached to another page in the same space
Attached to another page in another space
Optionally,
- use an alias to refer to the attachment
- provide a link tip for the link
RELATED TYPES
Rich Text\-Linking to an attachment
Displaying an Image
Attaching Files to a Page
Take me back to Confluence 2.0 Home
|
Is it possible to link to attachments in another page?

Posted by thomasvdv at Dec 15, 2005 12:17
|
|
Thomas,
Yes, it is possible to link to attachments anywhere on your site.
I have updated the documentation above. I hope it answers your questions.
Cheers,
Vidya

Posted by vidya at Dec 15, 2005 17:13
|
|
Is it possible to link to a specific version of an attachment?

Posted by ckrul at Feb 02, 2006 04:14
|
|
When I insert a link to a attachment, it works real fine.
But as soon as I edit the same page for a second time, the links change automatically from
Seems like a bug to me!

Posted by tattva at Feb 03, 2006 03:33
|
|
Did you manage to find a solution to this?
Jon

Posted by jwilson@lohika.com at Feb 21, 2006 18:36
|
|
If the full URL is specified, you can specify a version like this:
I don't know if it's possible to use wiki markup to do a similar thing...

Posted by gfraser at Feb 21, 2006 18:40
|
|
It's not -- at least with the version of Confluence we are using (1.4.4 build #221). I assumed it was possible, however, since when you link to an attachment using wiki markup, the link text shows this:
https://my.server.x/confluence/download/attachments/2946/my+attached+file.zip?version=1
Note the version information on the end of the link! This would naturally lead you to suspect that including another version is possible using wiki markup. However, I could not get this to work, and have resorted to using the 'full link method' you suggest.
This has obvious disadvantages, though, not least the fact that the tooltip on attachments linked in this way now says "Visit page outside Confluence" 
Cheers,
Ed

Posted by edbradburn at Mar 21, 2006 01:43
|
|
Vidya,
the above works well with regular pages, but when I try to insert a link in a weblog entry to an attachment located on another confluence page, it does not work, e.g. "[Page^attachment.txt]". A page-link however, works: "[Page]".
Bug or Feature? Or have I missed something here?
Thanks
Andreas

Posted by adeimer at Mar 21, 2006 04:08
|
|